package com.jinke.api.modules.app.enums;

import lombok.Getter;

/**
 * 物流子状态
 *
 */
@Getter
public enum TrackStatus {
    //运输商没有返回信息
    NotFound(1, "NotFound"),
    //收到信息
    InfoReceived(2, "InfoReceived"),
    //已揽收
    InTransit(3, "InTransit"),
    //Expired
    Expired(4, "Expired"),
    //到达待取
    AvailableForPickup(5, "AvailableForPickup"),
    //找不到收件人
    DeliveryFailure(6, "DeliveryFailure");
//主状态后面的省略 只有1是没有信息
    private final Integer value;

    private final String desc;

    TrackStatus(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
